package com.ruoyi.monitor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测配置对象 monitor_config
 * 
 * @author weihanqiang
 * @date 2025-04-30
 */
public class MonitorConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 监测配置id */
    private Long monitorConfigId;

    /** 监测配置编号 */
    @Excel(name = "监测配置编号")
    private String monitorConfigNo;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long departmentId;

    /** 仪器id */
    @Excel(name = "仪器id")
    private Long instrumentId;

    /** 仪器编号 */
    @Excel(name = "仪器编号")
    private String instrumentNo;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String instrumentName;

    /** 仪器状态代码 */
    @Excel(name = "仪器状态代码")
    private String instrumentStateCode;

    /** 仪器状态名称 */
    @Excel(name = "仪器状态名称")
    private String instrumentStateName;

    /** 轮询周期 */
    @Excel(name = "轮询周期")
    private Long pollingCycle;

    /** 阈值 */
    @Excel(name = "阈值")
    private Long threshold;

    /** 启用 */
    @Excel(name = "启用")
    private Integer enableType;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 新增人id */
    @Excel(name = "新增人id")
    private Long creatorId;

    /** 新增人 */
    @Excel(name = "新增人")
    private String creator;

    /** 修改人id */
    @Excel(name = "修改人id")
    private Long modifierId;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifier;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    public void setMonitorConfigId(Long monitorConfigId) 
    {
        this.monitorConfigId = monitorConfigId;
    }

    public Long getMonitorConfigId() 
    {
        return monitorConfigId;
    }

    public void setMonitorConfigNo(String monitorConfigNo) 
    {
        this.monitorConfigNo = monitorConfigNo;
    }

    public String getMonitorConfigNo() 
    {
        return monitorConfigNo;
    }

    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }

    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    public void setInstrumentId(Long instrumentId) 
    {
        this.instrumentId = instrumentId;
    }

    public Long getInstrumentId() 
    {
        return instrumentId;
    }

    public void setInstrumentNo(String instrumentNo) 
    {
        this.instrumentNo = instrumentNo;
    }

    public String getInstrumentNo() 
    {
        return instrumentNo;
    }

    public void setInstrumentName(String instrumentName) 
    {
        this.instrumentName = instrumentName;
    }

    public String getInstrumentName() 
    {
        return instrumentName;
    }

    public void setInstrumentStateCode(String instrumentStateCode) 
    {
        this.instrumentStateCode = instrumentStateCode;
    }

    public String getInstrumentStateCode() 
    {
        return instrumentStateCode;
    }

    public void setInstrumentStateName(String instrumentStateName) 
    {
        this.instrumentStateName = instrumentStateName;
    }

    public String getInstrumentStateName() 
    {
        return instrumentStateName;
    }

    public void setPollingCycle(Long pollingCycle) 
    {
        this.pollingCycle = pollingCycle;
    }

    public Long getPollingCycle() 
    {
        return pollingCycle;
    }

    public void setThreshold(Long threshold) 
    {
        this.threshold = threshold;
    }

    public Long getThreshold() 
    {
        return threshold;
    }

    public void setEnableType(Integer enableType) 
    {
        this.enableType = enableType;
    }

    public Integer getEnableType() 
    {
        return enableType;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setModifierId(Long modifierId) 
    {
        this.modifierId = modifierId;
    }

    public Long getModifierId() 
    {
        return modifierId;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("monitorConfigId", getMonitorConfigId())
            .append("monitorConfigNo", getMonitorConfigNo())
            .append("departmentName", getDepartmentName())
            .append("departmentId", getDepartmentId())
            .append("instrumentId", getInstrumentId())
            .append("instrumentNo", getInstrumentNo())
            .append("instrumentName", getInstrumentName())
            .append("instrumentStateCode", getInstrumentStateCode())
            .append("instrumentStateName", getInstrumentStateName())
            .append("pollingCycle", getPollingCycle())
            .append("threshold", getThreshold())
            .append("enableType", getEnableType())
            .append("remarks", getRemarks())
            .append("isDelete", getIsDelete())
            .append("creatorId", getCreatorId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("modifierId", getModifierId())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .toString();
    }
}
